<template>
	<view class="myPlanContainer">
		<Common></Common>
		<!-- 选科要求 -->
		<view class="chooseImg">
			<image :src="xuankeImg" mode="widthFix" style="height: 280rpx; margin-bottom: 20rpx;width: 662rpx;" @click="toOpen(1)"></image>
			<image :src="moniImg" mode="widthFix" style="height: 280rpx;width: 662rpx;" @click="toOpen(2)"></image>
		</view>
		<view class="" style="height: 100rpx;">
			
		</view>
	</view>
</template>

<script>
	import Common from './Common'
	export default {
		components:{
			Common
		},
		props: {
			xuankeImg:String,
			moniImg:String,
			openUrl1:"",
			openUrl2:""
		},
		data(){
			return{
				backImg:{
					color:"red",
				},
			}
		},
		created() {
			// this.getData()
		},
		methods:{
			toOpen(index){
				let urlName=this.openUrl1
				if(index===2){
					urlName=this.openUrl2
				}
				uni.navigateTo({
					url:urlName
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.myPlanContainer {
		.testReport {
			position: relative;
			margin: 40rpx 0;
			text-align: center;
			.reportBtn {
				position: absolute;
				margin: auto;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				background-color: #2A6CAC;
				color: #FFFFFF;
				border-radius: 46rpx;
				width: 258rpx;
				height: 92rpx;
				line-height: 92rpx;
			}
		}
	}
	.chooseImg{
			width: 100%;
			margin: 0 44rpx;
		}
	
	.disabled {
	  background: rgba(200, 200, 200, 100);
	}
	
</style>
